package org.example.service;

import org.example.mapper.PackingRecordMapper;
import org.example.pojo.PackingRecord;
import org.example.pojo.Region;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PackingRecordService {

    @Resource
    private PackingRecordMapper mapper;

    public List<PackingRecord> select(Integer regionId) {
        return mapper.select(regionId);
    }

    public int add(PackingRecord record) {
        return mapper.add(record);
    }

    public int update(Integer id) {
        return mapper.update(id);
    }
}
